package com.yunti.business.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组别对象 race_group
 *
 * @author yangtt
 * @date 2024-11-25
 */

@Data
@Accessors(chain = true)
@TableName("race_group")
public class RaceGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 组别名 */
    @Excel(name = "组别名")
    private String gropuName;

    /** 赛事ID */
    @Excel(name = "赛事ID")
    private Long raceId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGropuName(String gropuName)
    {
        this.gropuName = gropuName;
    }

    public String getGropuName()
    {
        return gropuName;
    }
    public void setRaceId(Long raceId)
    {
        this.raceId = raceId;
    }

    public Long getRaceId()
    {
        return raceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gropuName", getGropuName())
            .append("raceId", getRaceId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
